package com.itheima.security.springmvc.service;

import com.itheima.security.springmvc.model.AuthenticationRequest;
import com.itheima.security.springmvc.model.UserDto;

/**
 * Description: AuthenticationService
 * Project: security-springmvc <br />
 * InterfaceName: AuthenticationService <br />
 *
 * @Author Wang Shaopeng
 * @Date 2019/11/18 9:43
 */
public interface AuthenticationService {
    /**
     * @description 用户认证请求，账号和密码
     * @author xiaoxiaokui
     * @date 2019/11/18
     * @param authenticationRequest
     * @return UserDto
     * @modifier
     * @note
     **/
    UserDto authentication(AuthenticationRequest authenticationRequest);
}
